﻿using AutoMapper;
using RuYiAdmin.Net.Entity.BusinessDTO.SystemManagement;
using RuYiAdmin.Net.Entity.BusinessEntity.SystemManagement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuYiAdmin.Net.Entity.MapperConfig
{
    /// <summary>
    /// 映射描述文件
    /// </summary>
    public class MapperProfile : Profile
    {
        public MapperProfile()
        {
            #region POCO TO DTO

            //菜单
            CreateMap<SysMenu, SysMenuDTO>();

            //导入配置
            CreateMap<SysImportConfig, ImportConfigDTO>();

            //导入配置明细
            CreateMap<SysImportConfigDetail, ImportConfigDetailDTO>();

            #endregion
        }
    }
}
